<?php
require_once 'classes/Login.php';
$Login = new Login;
if(!$Login->verify())
{
    header('Location:index.php');
}

if(isset($_GET['logout'])){$Login->logUserOut();}
include 'includes/header.inc.php';
?>

			<div id="main">
				<h1>Protected Standard Member Page</h1>
				
				<div class="spacer"></div>
				<a href="?logout">logout <?php echo $_SESSION['email']; ?></a>
			</div><!-- end main -->
<?php include 'includes/footer.inc.php'; ?>